#!/usr/bin/make -f

include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/debhelper.mk

JAVA_HOME = /usr/lib/kaffe

DEB_ANT_BUILD_TARGET := all
DEB_JARS             := basicplayer commons-logging jlayer kj_dsp tritonus_share

build/jlgui:: $(EXTRATARGET)
	pod2man -c 'jlgui for Debian GNU/Linux' \
	  -r jlgui-$(DEB_UPSTREAM_VERSION) debian/jlgui.pod > debian/jlgui.1

install/jlgui::
	dh_link /usr/share/java/jlgui$(DEB_UPSTREAM_VERSION).jar \
	  /usr/share/java/jlgui.jar

clean::
	$(RM) debian/jlgui.1

get-orig-source:
	uscan --upstream-version 0
